package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.AccounLoginInfo;
import com.zb.entity.ExportFieldAttrVo;
import com.zb.entity.ExportFieldVo;
import com.zb.entity.ZjWorkExportField;
import com.zb.vo.WorkSysInitExportFieldVo;

import java.util.List;

/**
 * <p>
 * 工单导出字段表 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-03-04
 */
public interface ZjWorkExportFieldService extends IService<ZjWorkExportField> {

    /**
     * 获取工单系统初始导出字段
     * @return
     */
    List<WorkSysInitExportFieldVo> getOrderSysInitExportFields();

    /**
     * 保存导出字段
     * @param loginInfo
     * @param exportFieldVo
     */
    void save(AccounLoginInfo loginInfo, ExportFieldVo exportFieldVo);

    /**
     * 获取工单导出字段
     * @param loginInfo
     * @return
     */
    List<ExportFieldAttrVo> getOrderExportFields(AccounLoginInfo loginInfo);
}
